<% if true #@oid.active? %>
  $('#oid_activate').html('<span class="oid_active">Running. <%= link_to "Deactivate", deactivate_oid_path(@oid), :method => :post, :remote => true %></span>')
<% else %>
  $('#oid_activate').html('<span class="oid_active_error">Error</span>')
<% end %>
